package com.molichuxing.services.business.service;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.services.business.dto.request.create.CarLicencePlateCreateDto;
import com.molichuxing.services.business.dto.request.modify.CarLicencePlateModifyDto;
import com.molichuxing.services.business.dto.response.CarLicencePlateDetailDto;
import com.molichuxing.services.business.dto.response.CarLicencePlateDto;
import com.molichuxing.services.property.CarLicencePlateStatusEnum;

/**
 * 车辆牌照信息服务类
 * @author xuelin yi
 */
public interface CarLicencePlateBizService {

    /**
     * 根据车辆id获取车牌信息
     * @param carId
     * @return
     * @throws Exception
     */
    public CarLicencePlateDetailDto getLicencePlate(int carId) throws Exception;

    /**
     * 新增车牌信息
     * @param createDto
     * @return
     * @throws Exception
     */
    public int createLicencePlate(CarLicencePlateCreateDto createDto) throws Exception;

    /**
     * 编辑车牌信息
     * @param modifyDto
     * @return
     * @throws Exception
     */
    public int modifyLicencePlate(CarLicencePlateModifyDto modifyDto) throws Exception;
}
